﻿<Window x:Class="Mar3ek.ColorHatTimeTracker.NewProjectWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:colorHatTimeTracker="clr-namespace:Mar3ek.ColorHatTimeTracker"
        Title="Create a new project" Height="145.6" Width="300" ResizeMode="NoResize" ShowInTaskbar="False" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen" Topmost="True">
    <Window.DataContext>
        <colorHatTimeTracker:NewProjectViewModel />
    </Window.DataContext>
    <Grid>
        <Label Content="Project name:" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top"/>
        <Label Content="Customer:" HorizontalAlignment="Left" Margin="10,41,0,0" VerticalAlignment="Top"/>
        <Button x:Name="OkButton" Content="OK" HorizontalAlignment="Right" Margin="0,0,9.6,10.2" VerticalAlignment="Bottom" Width="75" Click="OkButtonClick"/>
        <Button x:Name="CancelButton" Content="Cancel" HorizontalAlignment="Left" Margin="10,0,0,10.2" VerticalAlignment="Bottom" Width="75" Click="CancelButtonClick"/>
        <TextBlock HorizontalAlignment="Right" Margin="0,14,11.6,0" TextWrapping="Wrap" Text="{Binding ProjectName}" VerticalAlignment="Top"/>
        <ComboBox IsEditable="True" ItemsSource="{Binding Customers}" Text="{Binding SelectedCustomer}" HorizontalAlignment="Right" Margin="0,44,9.6,0" VerticalAlignment="Top" Width="120"/>

    </Grid>
</Window>
